
<table style="margin-top: 10px">
	<tr>
		<th width="40">序号</th>
		<th>收入</th>
		<th>流水号</th>
		<th>产品</th>
		<th>事由</th>
		<th>币种</th>		
		<th>实收</th>
		<th>人民币</th>
		<th>成本</th>
		
		<th>开票日期</th>
		<th>状态</th>
		<th>备注</th>
	</tr>
	{[foreach name=outer key=key item=item from=$in_item_list]} 
	{[assign var="no" value="`$key+1`"]}	 
	{[assign var="t1" value="`$t1+$item.amount`"]}
	{[assign var="t2" value="`$t2+$item.rmb`"]}
	{[assign var="t3" value="`$t3+$item.cost`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td>{[$item.in]}</td>
		<td>{[$item.id]}</td>
		<td>{[$item.in_x.mold_t]}</td>
		<td>{[$item.in_x.name]}{[$item.name]}</td>
		<td>{[$item.currency_t]}
		
		<td>{[$item.amount|money]}</td>
		<td>{[$item.rmb|money]}</td>
		<td>{[$item.cost|money]}</td>
		
		<td>{[$item.date1]}</td>
		<td>{[$item.status_t]}</td>
		<td id="item_content_{[$no]}">{[$item.content]}</td>		
	</tr>
	{[/foreach]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td colspan="6"></td>
		<td>{[$t1|money]}</td>
		<td>{[$t2|money]}</td>
		<td>{[$t3|money]}</td>
		<td colspan="3"></td>
	</tr>
	{[assign var="b1" value="`$t1-$result.amount`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td colspan="6"></td>
		<td>{[$b1|money]}</td>
		<td colspan="5"></td>
	</tr>
</table>